import { getAction, deleteAction,putAction, postAction,  } from '@/api/manage.js'

//定时任务
const share=(params) => getAction("/index/wx/index", params)
const newsList=(params) => getAction("/index/article/list", params)
const newsType=(params) => getAction("/index/article/type", params)
const newsDetail=(params) => getAction("/index/article/detail", params)
const getCode=(params) => getAction("/index/mobile/SendCode", params)
const postMsg=(params) => getAction("/index/msg/index", params)
const shareNum=(params) => getAction("/index/article/share", params)

export {
  newsList,
  newsType,
  newsDetail,
  share,
  getCode,
  postMsg,
  shareNum
}
